<script>
	import {
		maintenanceTabs,
	} from '@/utlis/tabbar.js'
	import {
		isLogin
	} from "utlis/verify.js"
	import Vue from 'vue';
	export default {
		onLaunch: function() {
			let that = this
			uni.hideTabBar()
			that.setAppInfo()
			console.log('App Launch')

		},
		onShow: function() {
			// isLogin()
			uni.setStorageSync('tabBarList',maintenanceTabs)
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		methods: {
			setAppInfo() {
				uni.getSystemInfo({
					success: function(e) {
						let topPx = e.statusBarHeight
						Vue.prototype.topHeight = topPx
					}
				});
			}
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "@/uni_modules/uview-ui/index.scss";
	@import "@/static/css/app.scss";
	@import "@/static/css/common.scss";
	.u-tabbar {
	.u-tabbar-item:nth-of-type(3) {
		.u-icon__img {
			width:87rpx !important;
			height:58rpx !important;
		}
	}
}
</style>